<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Thymeleaf-Login-Demo</title>
</head>
<body>
    <div id="header">
        <h2>登录示例页面-供参考</h2>
        <strong>demo login page for example</strong>
        <p th:if="${error}"></p>
    </div>
    <div id="container">
        <form th:action="@{/sign_in}" method="post">
            <input name="username" type="text" placeholder="用户名"/>
            <br/>
            <input name="password" type="password" placeholder="密码"/>
            <br/>
            <input name="登录" type="submit" />
            <br/>
        </form>
    </div>
</body>
</html>